Class symantec.itools.db.beans.sqleditor.TableSorter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.sqleditor.TableSorter

Object
   |
   +----AbstractTableModel
           |
           +----TableMap
                   |
                   +----symantec.itools.db.beans.sqleditor.TableSorter

public class TableSorter
extends TableMap

Constructor Index

 o symantec.itools.db.beans.sqleditor.TableSorter()
 o symantec.itools.db.beans.sqleditor.TableSorter(TableModel)

Method Index

 o addMouseListenerToHeaderInTable(JTable)
 o checkModel()
 o compare(int, int)
 o compareRowsByColumn(int, int, int)
 o getValueAt(int, int)
 o n2sort()
 o reallocateIndexes()
 o setModel(TableModel)
 o setValueAt(Object, int, int)
 o shuttlesort(int[], int[], int, int)
 o sort(Object)
 o sortByColumn(int)
 o sortByColumn(int, boolean)
 o swap(int, int)
 o tableChanged(TableModelEvent)

Constructors

 o TableSorter
public TableSorter()
 o TableSorter
public TableSorter(TableModel model)

Methods

 o addMouseListenerToHeaderInTable
public void addMouseListenerToHeaderInTable(JTable table)
 o checkModel
public void checkModel()
 o compare
public int compare(int row1,
                   int row2)
 o compareRowsByColumn
public int compareRowsByColumn(int row1,
                               int row2,
                               int column)
 o getValueAt
public java.lang.Object getValueAt(int aRow,
                                   int aColumn)
Overrides:
getValueAt in class TableMap
 o n2sort
public void n2sort()
 o reallocateIndexes
public void reallocateIndexes()
 o setModel
public void setModel(TableModel model)
Overrides:
setModel in class TableMap
 o setValueAt
public void setValueAt(Object aValue,
                       int aRow,
                       int aColumn)
Overrides:
setValueAt in class TableMap
 o shuttlesort
public void shuttlesort(int from,
                        int to,
                        int low,
                        int high)
 o sort
public void sort(Object sender)
 o sortByColumn
public void sortByColumn(int column)
 o sortByColumn
public void sortByColumn(int column,
                         boolean ascending)
 o swap
public void swap(int i,
                 int j)
 o tableChanged
public void tableChanged(TableModelEvent e)
Overrides:
tableChanged in class TableMap

All Packages  Class Hierarchy  This Package  Previous  Next  Index